my $datestring = localtime( time );

print $datestring."\n";

$time = localtime(time);

print $time;